package com.zqh.app.manager.impl;

import com.zqh.app.dao.MerchantMapper;
import com.zqh.app.entity.SysMerchant;
import com.zqh.app.manager.MerchantManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("MerchantManager")
public class MerchantManagerImpl implements MerchantManager {
    @Autowired
    MerchantMapper merchantMapper;
    @Override
    public List<SysMerchant> listMerchant() {
        return merchantMapper.list();
    }
}
